package com.csi.dao;

import com.csi.domain.Comment;
import com.csi.domain.Employ;

import java.sql.SQLException;
import java.util.List;

public interface CommentDao {

    int add(Comment comment) throws SQLException;

    int delete(int commentId) throws SQLException;

    int update(Comment comment) throws SQLException;

    List<Comment> list(int indexPage,int title) throws SQLException;
}
